home *** CD-ROM | disk | FTP | other *** search
- head 1.2;
- access ;
- symbols ;
- locks ; strict;
- comment @ * @;
-
-
- 1.2
- date 88.06.29.15.10.42; author ouster; state Exp;
- branches ;
- next 1.1;
-
- 1.1
- date 88.06.21.11.59.22; author ouster; state Exp;
- branches ;
- next ;
-
-
- desc
- @@
-
-
- 1.2
- log
- @Add ifdefs to keep files from being processed twice.
- @
- text
- @/*
- * Copyright (c) 1982, 1986 Regents of the University of California.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms are permitted
- * provided that this notice is preserved and that due credit is given
- * to the University of California at Berkeley. The name of the University
- * may not be used to endorse or promote products derived from this
- * software without specific prior written permission. This software
- * is provided ``as is'' without express or implied warranty.
- *
- * @@(#)icmp_var.h 7.3 (Berkeley) 12/7/87
- */
-
- #ifndef _ICMP_VAR
- #define _ICMP_VAR
-
- /*
- * Variables related to this implementation
- * of the internet control message protocol.
- */
- struct icmpstat {
- /* statistics related to icmp packets generated */
- int icps_error; /* # of calls to icmp_error */
- int icps_oldshort; /* no error 'cuz old ip too short */
- int icps_oldicmp; /* no error 'cuz old was icmp */
- int icps_outhist[ICMP_MAXTYPE + 1];
- /* statistics related to input messages processed */
- int icps_badcode; /* icmp_code out of range */
- int icps_tooshort; /* packet < ICMP_MINLEN */
- int icps_checksum; /* bad checksum */
- int icps_badlen; /* calculated bound mismatch */
- int icps_reflect; /* number of responses */
- int icps_inhist[ICMP_MAXTYPE + 1];
- };
-
- #ifdef KERNEL
- struct icmpstat icmpstat;
- #endif
-
- #endif _ICMP_VAR
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d15 3
- d29 1
- a29 1
- int icps_badcode; /* icmp_code out of range */
- d40 2
- @
-